$golden: rgb(231, 208, 115);
$lightBlack: rgb(26, 26, 26);
$lightGray: rgb(245, 245, 245);
$lightGray2: rgb(232, 232, 232);
$skyBlue: #77c4e6;
$iconColor: rgb(254, 129, 9);
html {
  height: 100%;
  body {
    position: absolute;
    margin: 0;
    padding: 0;
    background-color: #fff;
    height: auto;
    font-family: "PingFangSC-Regular";
    font-size: 14px;
    overflow-x: hidden;
    width: 100%;
  }
}
a {
  color: #000;
  text-decoration: none;
}
ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
input {
  padding: 0;
  margin: 0;
  outline: none;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.p-head {
  position: fixed;
  top: 0;
  border: 1px solid transparent;
  box-sizing: border-box;
  height: 68px;
  width: 100%;
  background-color: rgb(26,26,26);
  line-height: 68px;
  z-index: 2000;
  .nav-wrap {
    height: 100%;
    padding: 12px 0;
    width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .logo {
    float: left;
    width: 111px;
    height: 40px;
    background: url(../image/logo1.png);
    background-size: 100%;
  }
  .nav-list {
    position: relative;
    top: -12px;
    float: right;

    &>li {
      float: left;
      margin-right: 28px;
      &:last-child {
        position: relative;
        margin-right: 0;
        img {
          position: absolute;
          width: 16px;
          height: 16px;
          right: 6px;
          top: 50%;
          margin-top: -8px;
          display: none;
        }
        .user-menu {
          position: relative;
          &>a {
            padding-right: 29px;
            display: none;
          }
          div.cover {
            position: absolute;
            padding-top: 25px;
            left: -44px;
            top: 64%;
            display: none;
            .user-menu-list {
              position: relative;
              font-size: 12px;
              background-color: #fff;
              padding: 0 10px;
              border-radius: 4px;
              box-shadow: 1px 1px 10px rgba($color: #000000, $alpha: 0.1), -1px -1px 10px rgba($color: #000000, $alpha: 0.1);
              &::before {
                content: "";
                display: inline-block;
                position: absolute;
                border: 8px solid;
                border-color: transparent transparent #eee transparent;
                top: -16px;
                left: 71px;
              }
              &::after {
                content: "";
                display: inline-block;
                position: absolute;
                border: 8px solid;
                border-color: transparent transparent #fff transparent;
                top: -15px;
                left: 71px;
              }
              li {
                margin: 0;
                height: 40px;
                line-height: 40px;
                border-bottom: 1px solid #e6e6e6;
                text-align: center;
                &:last-child {
                  border-bottom-width: 0;
                }
                a {
                  display: inline-block;
                  color: #000;
                  width: 139px;
                  height: 37px;
                  &:hover {
                    color: $golden;
                  }
                }
              }
            }
          }
        }
        .un-log {
          background-size: 40%;
          padding-right: 29px;
        }
      }
      a {
        color: #fff;
      }
    }
    .contact {
      .phone {
        position: absolute;
        top: 85%;
        background-color: #fff;
        box-sizing: border-box;
        box-shadow: 1px 1px 10px rgba($color: #000000, $alpha: .1);
        line-height: 26px;
        border-radius: 4px;
        display: none;
        div.triangle {
          position: absolute;
          border: 8px solid transparent;
          border-bottom-color: #fff;
          top: -16px;
          right: 92px;
        }
      }
      .phone-number {
        left: 48%;
        padding: 12px 29px;
        height: 73px;
        width: 200px;
      }
      .qr-code {
        left: 55%;
        height: auto;
        width: auto;
        padding: 24px;
        padding-bottom: 13px;
        text-align: center;
        color: $golden;
        font-weight: 600;
        img {
          display: block;
          height: 142px;
          width: 142px;
        }
      }
    }
  }
}
.p-content {
  // 历史记录导航栏
  .history-nav {
    width: 1182px;
    height: 45px;
    margin: 0 auto;
    margin-top: 66px;
    line-height: 45px;
  }
  // 搜索栏
  .search-wrap {
    position: absolute;
    width: 1132px;
    height: 48px;
    box-sizing: border-box;
    margin-left: 50%;
    left: -566px;
    input {
      height: 100%;
      box-sizing: border-box;
      border: 1px #ccc solid;
      padding-left: 32px;
      font-size: 16px;
      &.cities {
        width: 330px;
        border-radius: 3px;
        margin-right: 14px;
      }
      &#from-date {
        width: 220px;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        border-right-color: transparent;
      }
      &#to-date {
        width: 220px;
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        border-left-color: transparent;
        margin-right: 14px;
      }
      &.keyword {
        width: 220px;
        border-radius: 3px;
      }
    }
    div.city-menu {
      position: absolute;
      top: 75px;
      background-color: #fff;
      width: 330px;
      min-height: 200px;
      border: 1px solid #ccc;
      border-radius: 2px;
      display: none;
      padding: 0 20px;
      z-index: 1000;
      &::before {
        content: "";
        position: absolute;
        display: inline-block;
        border: 17px solid;
        border-color: transparent transparent #ccc transparent;
        top: -34px;
        left: 50px;
      }
      &::after {
        content: "";
        position: absolute;
        display: inline-block;
        border: 17px solid;
        border-color: transparent transparent #fff transparent;
        top: -33px;
        left: 50px;
      }
      span {
        display: block;
        cursor: pointer;
        border-bottom: 1px solid #ccc;
        height: 41px;
        line-height: 41px;
        padding-left: 20px;
        &:last-child {
          border-bottom-width: 0; 
        }
        &:hover {
          background-color: #FEFDFB;
        }
      }
      div {
        color: $golden;
        font-weight: bolder;
        font-size: 18px;
        padding-left: 15px;
        height: 41px;
        line-height: 41px;
        border-bottom: 1px solid $golden;
      }
    }
    &>a {
      float: right;
      width: 101px;
      height: 47px;
      background: $lightBlack;
      color: #fff;
      border-color: $lightBlack;
      font-size: 16px;
      cursor: pointer;
      padding: 0;
      text-align: center;
      line-height: 47px;
    }
    &>span {
      position: absolute;
      color: rgb(192, 196, 204);
      font-size: 14px;
      &:nth-child(6) {
        top: 15px;
        left: 10px;
      }
      &:nth-child(7) {
        top: 15px;
        left: 808px;
      }
      &:nth-child(8) {
        top: 15px;
        left: 354px;
      }
      &:nth-child(9) {
        top: 15px;
        left: 574px;
      }
    }
  }
  // 活动列表的公共样式
  .activities-list-wrap {
    h1 {
      text-align: center;
      margin: 0;
      padding: 0;
    }
    ul {
      width: 1181px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content:  space-between;
      li {
        width: 382px;
        height: 100%;
        margin-bottom: 22px;
        cursor: pointer;
        img {
          display: block;
          width: 100%;
          height: 382px;
        }
        .text {
          position: relative;
          height: 198px;
          border: 1px solid #e6e6e6;
          border-top-color: transparent;
          padding: 12px;
          font-size: 16px;
          h1 {
            font-size: 20px;
            padding: 0;
            margin: 0;
            text-align: left;
          }
          p {
            position: absolute;
            color: gray;
            width: 357px;
            top: 70px;
          }
          .btn-wrap {
            position: absolute;
            bottom: 26px;
            width: 357px;
            height: 42px;
            line-height: 42px;
            span {
              color: gray;
              font-size: 16px;
            }
            .btn {
              float: right;
              width: 116px;
              height: 100%;
              box-sizing: border-box;
              color: $golden;
              border: 1px solid $golden;
              line-height: 42px;
              text-align: center;
            }
          }
        }
      }
    }
    .see-more {
      margin-top: 67px;
      text-align: center;
      font-size: 16px;
      text-decoration: underline;
    }
  }
  .hotel-list {
    position: relative;
    width: 1182px;
    margin: 0 auto;
    &>.title {
      font-size: 22px;
      font-weight: 700;
      margin: 60px 0 40px;
      text-align: center;
    }
    .hotel {
      display: inline-block;
      width: 794px;
      li {
        display: flex;
        margin-bottom: 20px;
        height: 272px;
        box-sizing: border-box;
        border: 1px solid $lightGray2;
        &>a {
          display: inline-block;
          height: 272px;
          width: 272px;
          img {
            width: 270px;
            height: 270px;
          }
        }
        .basic-infor {
          position: relative;
          box-sizing: border-box;
          padding: 16px 23px;
          width: 349px;
          height: 270px;
          border-right: 1px solid $lightGray2;
          .title {
            font-size: 20px;
            margin-bottom: 7px;
          }
          .quality {
            color: $skyBlue;
          }
          .address {
            margin-top: 7px;
            color: gray;
            font-size: 16px;
          }
          .facility {
            position: absolute;
            display: flex;
            flex-wrap: wrap;
            color: $iconColor;
            width: 301px;
            bottom: 16px;
            .iconfont {
              font-size: 23px;
              margin-right: 12px;
            }
          }
        }
        .btn-wrap {
          position: relative;
          width: 173px;
          box-sizing: border-box;
          padding: 9px 18px;
          .remark {
            b {
              color: #b3b3b3;
            }
            span {
              position: absolute;
              display: inline-block;
              box-sizing: border-box;
              right: 18px;
              width: 54px;
              height: 42px;
              padding-left: 18px;
              color: #fff;
              background: url(../image/grade.png) no-repeat;
              background-size: 100%;
              font-size: 18px;
              line-height: 42px;
            }
          }
          &>.btn {
            position: absolute;
            display: inline-block;
            bottom: 14px;
            width: 138px;
            height: 46px;
            box-sizing: border-box;
            border: solid 1px;
            text-align: center;
            line-height: 46px;
          }
        }
      }
    }
    .adver {
      float: right;
      width: 350px;
      height: 202px;
      a {
        display: inline-block;
        width: 325px;
        height: 100%;
        background: url("http://upload.shands.cn/gw/XGW/1902211357175524-760-760.JPG");
        background-size: 100%;
      }
    }
  }
}
.p-foot {
  height: 328px;
  padding-top: 40px;
  .options {
    height: 288px;
    width: 1182px;
    margin: 0 auto;
    table {
      td, th {
        width: 188px;
        text-align: left;
      }
      th {
        font-size: 18px;
        height: 50px;
      }
      td {
        height: 26px;
      }
    }
  }
  .altar-bar {
    height: 40px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    padding: 12px;
    box-sizing: border-box;
    .altar-bar-wrap {
      width: 1182px;
      margin: 0 auto;
      .lf {
        float: left;
      }
      .rg {
        margin-top: -4px;
        float: right;
        .icon {
          position: relative;
          top: 5px;
          width: 22px;
          height: 22px;
          margin-right: 3px;
        }
      }
    }
  }
}
#ui-datepicker-div {
  border: transparent !important;
  box-shadow: 1px 1px 6px rgba($color: #000000, $alpha: 0.1);
  width: auto !important;
  height: auto !important;
  td {
    height: 35px !important;
    a, span {
      height: 40px !important;
      width: 60px !important;
      border: transparent !important;
      text-align: center !important;
      &:hover {
        color: rgb(64, 158, 255) !important; 
      }
    }
  }
  .ui-datepicker-header {
    background: #fff !important;
  }
  .ui-state-default {
    background: #fff !important;
  }
  .ui-datepicker-unselectable {
    cursor: no-drop !important;
  }
}
#layerLogWrap {
  display: none;
  width: 389px;
  height: 412px;
  padding: 0 51px;
  .log-nav {
    height: 76px;
    display: flex;
    line-height: 76px;
    text-align: center;
    font-size: 18px;
    color: #B3B3B3;
    .lf, .rt {
      flex: 1;
      cursor: pointer;
    }
    .click-style {
      color: #000;
    }
  }
  .for-phone, form.for-password {
    position: relative;
    height: 170px;
    input {
      margin: 18px 0;
      width: 286px;
      height: 44px;
      box-sizing: border-box;
      padding: 0 15px;
      border: 1px solid #DCDFE6;
      border-radius: 4px;
      &:nth-child(2) {
        margin-top: 0;
      }
      &::placeholder {
        color: #C1C4D3;
      }
      &:focus {
        border-color: #409EFF;
      }
    }
    .cover {
      position: absolute;
      width: 94px;
      height: 44px;
      text-align: center;
      line-height: 44px;
      color: #fff;
      background-color: $golden;
      border-radius: 0 4px 4px 0;
      top: 80px;
      right: 1px;
    }
  }
  a.for-password {
    display: block;
    margin-top: 24px;
    text-align: right;
    color: $golden;
  }
  .btn {
    display: block;
    width: 286px;
    height: 48px;
    margin: 0 auto;
    background-color: #000;
    text-align: center;
    line-height: 48px;
    color: #fff;
    font-size: 16px;
    cursor: no-drop;
  }
}